package acessoDados.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

public interface PessoaDAO extends BaseDAO {


	public void criaPessoa(String login, String password, String bi, String nome, String email, String telemovel, String funcao) throws SQLException, ClassNotFoundException ;

	public String getPass(String login) throws SQLException, ClassNotFoundException ;
	
	public String getFuncao(String login) throws SQLException, ClassNotFoundException ;
	public  boolean editPessoa(String loginAnterior, String login, String password, String bi,
			String nome, String email, String telemovel, String funcao) throws SQLException, ClassNotFoundException ;

	public void deletePessoa(String login) throws SQLException, ClassNotFoundException ;
	
	public  ResultSet getFuncionarios() throws SQLException, ClassNotFoundException ;

	public  ResultSet getClientes() throws SQLException, ClassNotFoundException ;

	public  ResultSet getTripulantes() throws SQLException, ClassNotFoundException ;

	public  ResultSet getDetalhesFuncionario(String login) throws SQLException, ClassNotFoundException ;

	public  ResultSet getDetalhesCliente(String login) throws SQLException, ClassNotFoundException ;

	public  ResultSet getDetalhesTripulante(String login) throws SQLException, ClassNotFoundException ;
	
	public  void addMilhas(String login, long milhas) throws SQLException, ClassNotFoundException ;
	
}
